package com.base;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateTest {

    public static void main(String[] args) {
        SimpleDateFormat df1 = new SimpleDateFormat("YYYY-MM-dd HH:mm:ss");
        SimpleDateFormat df2 = new SimpleDateFormat("YYYY-MM-dd");

       test1();

    }


    public  static  void test1(){
        System.out.println( new Date().getTime());

    }

}
